PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Dancer / Lasers / 374 nz+.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=3 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=1.560 |
| 8 | fDecay=0.960 |
| 9 | fVideoEchoZoom=0.997 |
| 10 | fVideoEchoAlpha=0.500 |
| 11 | nVideoEchoOrientation=1 |
| 12 | nWaveMode=0 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=0 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=1 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=1 |
| 22 | bDarken=1 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=0.001 |
| 26 | fWaveScale=1.000 |
| 27 | fWaveSmoothing=0.750 |
| 28 | fWaveParam=0.000 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=1.000 |
| 32 | fWarpScale=1.331 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=0.99951 |
| 36 | rot=0.00000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.000 |
| 45 | wave_g=0.000 |
| 46 | wave_b=0.000 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.000 |
| 50 | ob_r=0.010 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=1.000 |
| 54 | ib_size=0.005 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.000 |
| 57 | ib_b=0.000 |
| 58 | ib_a=1.000 |
| 59 | nMotionVectorsX=12.000 |
| 60 | nMotionVectorsY=9.000 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=0.900 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=0.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=1 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=0.500 |
| 88 | wave_0_per_point1=//init |
| 89 | wave_0_per_point2=zs = if(below(zs,1),9,zs); |
| 90 | wave_0_per_point3= |
| 91 | wave_0_per_point4=zs = if(above(zs, 1100),1, zs); |
| 92 | wave_0_per_point5= |
| 93 | wave_0_per_point6=speed = bass*0.002; |
| 94 | wave_0_per_point7= |
| 95 | wave_0_per_point8=//sum |
| 96 | wave_0_per_point9=zs = zs + tan(q1*0.015)*speed; |
| 97 | wave_0_per_point10= |
| 98 | wave_0_per_point11=zd = zd + 2; |
| 99 | wave_0_per_point12= |
| 100 | wave_0_per_point13= |
| 101 | wave_0_per_point14= |
| 102 | wave_0_per_point15=//project |
| 103 | wave_0_per_point16=x = 0.5 + 0.1*cos(q1*zs); |
| 104 | wave_0_per_point17=y = 0.5 + 0.1*sin(q1*zs); |
| 105 | wave_0_per_point18= |
| 106 | wave_0_per_point19=r = 0.5 + 0.5*sin(q1*1.2 + x + x); |
| 107 | wave_0_per_point20=g = 0.5 + 0.5*sin(q1*1.5 + x + y); |
| 108 | wave_0_per_point21=b = 0.5 + 0.5*sin(q1*1.36 + y + y); |
| 109 | wavecode_1_enabled=0 |
| 110 | wavecode_1_samples=512 |
| 111 | wavecode_1_sep=0 |
| 112 | wavecode_1_bSpectrum=0 |
| 113 | wavecode_1_bUseDots=0 |
| 114 | wavecode_1_bDrawThick=1 |
| 115 | wavecode_1_bAdditive=0 |
| 116 | wavecode_1_scaling=1.00000 |
| 117 | wavecode_1_smoothing=0.50000 |
| 118 | wavecode_1_r=1.000 |
| 119 | wavecode_1_g=1.000 |
| 120 | wavecode_1_b=1.000 |
| 121 | wavecode_1_a=1.000 |
| 122 | wavecode_2_enabled=0 |
| 123 | wavecode_2_samples=512 |
| 124 | wavecode_2_sep=0 |
| 125 | wavecode_2_bSpectrum=0 |
| 126 | wavecode_2_bUseDots=0 |
| 127 | wavecode_2_bDrawThick=0 |
| 128 | wavecode_2_bAdditive=0 |
| 129 | wavecode_2_scaling=1.00000 |
| 130 | wavecode_2_smoothing=0.50000 |
| 131 | wavecode_2_r=1.000 |
| 132 | wavecode_2_g=1.000 |
| 133 | wavecode_2_b=1.000 |
| 134 | wavecode_2_a=1.000 |
| 135 | wavecode_3_enabled=0 |
| 136 | wavecode_3_samples=512 |
| 137 | wavecode_3_sep=0 |
| 138 | wavecode_3_bSpectrum=0 |
| 139 | wavecode_3_bUseDots=0 |
| 140 | wavecode_3_bDrawThick=1 |
| 141 | wavecode_3_bAdditive=0 |
| 142 | wavecode_3_scaling=1.00000 |
| 143 | wavecode_3_smoothing=0.50000 |
| 144 | wavecode_3_r=1.000 |
| 145 | wavecode_3_g=1.000 |
| 146 | wavecode_3_b=1.000 |
| 147 | wavecode_3_a=1.000 |
| 148 | shapecode_0_enabled=1 |
| 149 | shapecode_0_sides=4 |
| 150 | shapecode_0_additive=0 |
| 151 | shapecode_0_thickOutline=0 |
| 152 | shapecode_0_textured=1 |
| 153 | shapecode_0_num_inst=1 |
| 154 | shapecode_0_x=0.750 |
| 155 | shapecode_0_y=0.750 |
| 156 | shapecode_0_rad=0.74180 |
| 157 | shapecode_0_ang=0.00000 |
| 158 | shapecode_0_tex_ang=0.00000 |
| 159 | shapecode_0_tex_zoom=0.22746 |
| 160 | shapecode_0_r=1.000 |
| 161 | shapecode_0_g=1.000 |
| 162 | shapecode_0_b=1.000 |
| 163 | shapecode_0_a=1.000 |
| 164 | shapecode_0_r2=1.000 |
| 165 | shapecode_0_g2=1.000 |
| 166 | shapecode_0_b2=1.000 |
| 167 | shapecode_0_a2=0.000 |
| 168 | shapecode_0_border_r=0.000 |
| 169 | shapecode_0_border_g=0.000 |
| 170 | shapecode_0_border_b=1.000 |
| 171 | shapecode_0_border_a=0.000 |
| 172 | shape_0_init1=tex_saw = 0.4; |
| 173 | shape_0_per_frame1=ang = q1*0.2; |
| 174 | shape_0_per_frame2= |
| 175 | shape_0_per_frame3=tex_capture = above(q3,2); |
| 176 | shape_0_per_frame4=tex_zoom = 0.6; |
| 177 | shapecode_1_enabled=1 |
| 178 | shapecode_1_sides=4 |
| 179 | shapecode_1_additive=0 |
| 180 | shapecode_1_thickOutline=0 |
| 181 | shapecode_1_textured=1 |
| 182 | shapecode_1_num_inst=1 |
| 183 | shapecode_1_x=0.250 |
| 184 | shapecode_1_y=0.750 |
| 185 | shapecode_1_rad=0.74180 |
| 186 | shapecode_1_ang=0.00000 |
| 187 | shapecode_1_tex_ang=0.00000 |
| 188 | shapecode_1_tex_zoom=0.22746 |
| 189 | shapecode_1_r=1.000 |
| 190 | shapecode_1_g=1.000 |
| 191 | shapecode_1_b=1.000 |
| 192 | shapecode_1_a=1.000 |
| 193 | shapecode_1_r2=1.000 |
| 194 | shapecode_1_g2=1.000 |
| 195 | shapecode_1_b2=1.000 |
| 196 | shapecode_1_a2=0.000 |
| 197 | shapecode_1_border_r=0.000 |
| 198 | shapecode_1_border_g=0.000 |
| 199 | shapecode_1_border_b=1.000 |
| 200 | shapecode_1_border_a=0.000 |
| 201 | shape_1_init1=tex_saw = 0.4; |
| 202 | shape_1_per_frame1=ang = q1*0.2; |
| 203 | shape_1_per_frame2=//x = 0.5 + 0.2*sin(q2); |
| 204 | shape_1_per_frame3=//y = 0.5 + (0.3*sin(q2)); |
| 205 | shape_1_per_frame4= |
| 206 | shape_1_per_frame5=tex_capture = above(q3,2); |
| 207 | shape_1_per_frame6=tex_zoom = 0.6; |
| 208 | shapecode_2_enabled=0 |
| 209 | shapecode_2_sides=100 |
| 210 | shapecode_2_additive=0 |
| 211 | shapecode_2_thickOutline=0 |
| 212 | shapecode_2_textured=0 |
| 213 | shapecode_2_num_inst=1 |
| 214 | shapecode_2_x=0.500 |
| 215 | shapecode_2_y=0.500 |
| 216 | shapecode_2_rad=0.22167 |
| 217 | shapecode_2_ang=0.00000 |
| 218 | shapecode_2_tex_ang=0.00000 |
| 219 | shapecode_2_tex_zoom=1.00000 |
| 220 | shapecode_2_r=1.000 |
| 221 | shapecode_2_g=0.000 |
| 222 | shapecode_2_b=0.000 |
| 223 | shapecode_2_a=1.000 |
| 224 | shapecode_2_r2=0.000 |
| 225 | shapecode_2_g2=1.000 |
| 226 | shapecode_2_b2=0.000 |
| 227 | shapecode_2_a2=0.000 |
| 228 | shapecode_2_border_r=1.000 |
| 229 | shapecode_2_border_g=1.000 |
| 230 | shapecode_2_border_b=1.000 |
| 231 | shapecode_2_border_a=1.000 |
| 232 | shape_2_per_frame1=border_r = 0.5 + 0.5*sin(q1*10); |
| 233 | shapecode_3_enabled=1 |
| 234 | shapecode_3_sides=100 |
| 235 | shapecode_3_additive=0 |
| 236 | shapecode_3_thickOutline=0 |
| 237 | shapecode_3_textured=0 |
| 238 | shapecode_3_num_inst=1 |
| 239 | shapecode_3_x=0.500 |
| 240 | shapecode_3_y=0.500 |
| 241 | shapecode_3_rad=0.10000 |
| 242 | shapecode_3_ang=0.00000 |
| 243 | shapecode_3_tex_ang=0.00000 |
| 244 | shapecode_3_tex_zoom=1.00000 |
| 245 | shapecode_3_r=1.000 |
| 246 | shapecode_3_g=1.000 |
| 247 | shapecode_3_b=1.000 |
| 248 | shapecode_3_a=1.000 |
| 249 | shapecode_3_r2=1.000 |
| 250 | shapecode_3_g2=1.000 |
| 251 | shapecode_3_b2=1.000 |
| 252 | shapecode_3_a2=0.000 |
| 253 | shapecode_3_border_r=1.000 |
| 254 | shapecode_3_border_g=1.000 |
| 255 | shapecode_3_border_b=1.000 |
| 256 | shapecode_3_border_a=0.000 |
| 257 | shape_3_per_frame1=a = above(q3,2); |
| 258 | shape_3_per_frame2=a2 = above(q3,2)*0.8; |
| 259 | shape_3_per_frame3= |
| 260 | shape_3_per_frame4=xx = if(above(q3,6),xx,rand(100)*0.01); |
| 261 | shape_3_per_frame5=yy = if(above(q3,6),yy,rand(100)*0.01); |
| 262 | shape_3_per_frame6=radi = if(above(q3,5),radi,rand(100)*0.01); |
| 263 | shape_3_per_frame7= |
| 264 | shape_3_per_frame8=rad = radi; |
| 265 | shape_3_per_frame9= |
| 266 | shape_3_per_frame10=x = xx; |
| 267 | shape_3_per_frame11=y = yy; |
| 268 | shape_3_per_frame12= |
| 269 | shape_3_per_frame13= |
| 270 | shape_3_per_frame14=r = 0.5 + 0.5*sin(q1*1.22) + 0.1; |
| 271 | shape_3_per_frame15=g = 0.4 + 0.4*sin(q1*1.307); |
| 272 | shape_3_per_frame16=b = 0.4 + 0.4*sin(q1*1.959); |
| 273 | shape_3_per_frame17= |
| 274 | shape_3_per_frame18= |
| 275 | shape_3_per_frame19=r2 = 0.5 + 0.5*sin(q1*1.622) + 0.1; |
| 276 | shape_3_per_frame20=g2 = 0.4 + 0.4*sin(q1*1.507); |
| 277 | shape_3_per_frame21=b2 = 0.4 + 0.4*sin(q1*1.6559); |
| 278 | per_frame_1=chng=sin(time*.5); |
| 279 | per_frame_2=cthr=.9999; |
| 280 | per_frame_3=mq21=if(above(chng,cthr),rand(3),mq21); |
| 281 | per_frame_4=mq22=if(above(chng,cthr),rand(3),mq22); |
| 282 | per_frame_5=mq23=if(above(chng,cthr),rand(3),mq23); |
| 283 | per_frame_6=mq24=if(above(chng,cthr),rand(2),mq24); |
| 284 | per_frame_7=mq25=if(above(chng,cthr),rand(2),mq25); |
| 285 | per_frame_8=mq26=if(above(chng,cthr),rand(2),mq26); |
| 286 | per_frame_9=mq27=if(above(chng,cthr),rand(1),mq27); |
| 287 | per_frame_10=mq28=if(above(chng,cthr),rand(1),mq28); |
| 288 | per_frame_11=mq29=if(above(chng,cthr),rand(1)*.3,mq29); |
| 289 | per_frame_12=mq31=if(above(chng,cthr),rand(1)*.3,mq31); |
| 290 | per_frame_13=monitor=chng; |
| 291 | per_frame_14=q21=mq21;q22=mq22;q23=mq23;q24=mq24;q25=mq25;q26=mq26; |
| 292 | per_frame_15=q27=mq27;q28=mq28;q29=mq29;q31=mq31; |
| 293 | per_frame_16= |
| 294 | per_frame_17=monitor=mq1; |
| 295 | per_frame_18=vol=bass+treb+mid; |
| 296 | per_frame_19=atime=atime+vol; |
| 297 | per_frame_20=q11=.4+sin(atime*.006 )*.4; |
| 298 | per_frame_21=q12=.4+cos(atime*.00613828348)*.4; |
| 299 | per_frame_22=q13=.4+sin(atime*.00598593455)*.4; |
| 300 | per_frame_23=monitor=q13; |
| 301 | per_frame_24= |
| 302 | per_frame_25=wave_a = 0; |
| 303 | per_frame_26= |
| 304 | per_frame_27= |
| 305 | per_frame_28= |
| 306 | per_frame_29=//Thanks to Zylot for rainbow generator |
| 307 | per_frame_30=counter1 = if(equal(counter2,1),if(equal(counter1,1),0,counter1+.2),1); |
| 308 | per_frame_31=counter2 = if(equal(counter1,1),if(equal(counter2,1),0,counter2+.2),1); |
| 309 | per_frame_32=cdelay1 = if(equal(cdelay2,1),1,if(equal(colorcounter%2,1),if(equal(counter1,1),2 ,0), if(equal(counter2,1),2,0))); |
| 310 | per_frame_33=cdelay2 = if(equal(cdelay1,2),1,0); |
| 311 | per_frame_34=colorcounter = if(above(colorcounter,7),0,if(equal(cdelay1,1),colorcounter+1,colorcounter)); |
| 312 | per_frame_35=ib_r = .5*if(equal(colorcounter,1),1, if(equal(colorcounter,2),1, if(equal(colorcounter,3),1, if(equal(colorcounter,4),sin(counter2+2.1), if(equal(colorcounter,5),0, if(equal(colorcounter,6),0,sin(counter1))))))); |
| 313 | per_frame_36=q1=ib_r; |
| 314 | per_frame_37=q2=ib_g; |
| 315 | per_frame_38=q3=ib_b; |
| 316 | per_frame_39= |
| 317 | per_frame_40=decay = 1; |
| 318 | per_frame_41= |
| 319 | per_frame_42= |
| 320 | per_frame_43=//echo_orient=((bass_att+mid_att+treb_att)/3)*3; |
| 321 | per_frame_44=//solarize=above(0.1,treb); |
| 322 | per_frame_45=darken=above(1,treb); |
| 323 | per_frame_46= |
| 324 | per_frame_47=musictime=musictime+(mid*mid*mid)*0.01*(134/fps); |
| 325 | per_frame_48= |
| 326 | per_frame_49=xpos=cos(musictime*5)*0.3; |
| 327 | per_frame_50=ypos=sin(musictime*0.4)*0.6; |
| 328 | per_frame_51=q4=xpos; |
| 329 | per_frame_52=//q5=ypos |
| 330 | per_frame_53=q5=-0.39; |
| 331 | per_frame_54= |
| 332 | per_frame_55=ib_r=0; |
| 333 | per_frame_56=ib_g=0; |
| 334 | per_pixel_1=//flip= (-2 * above(sin(time),-0.9) )+1; |
| 335 | per_pixel_2=//var=(bass+mid+treb)/3; |
| 336 | per_pixel_3=//rot=((ang&rad/rad)/(var*20))/10; |
| 337 | per_pixel_4=//sx=.99-(var*0.01); |
| 338 | per_pixel_5=//cx=var*0.1*(ang/12); |
| 339 | per_pixel_6=//sy=sx; |
| 340 | per_pixel_7= |
| 341 | per_pixel_8=//zoom=-1; |
| 342 | per_pixel_9=sx=-1+(bass*0.2); |
| 343 | per_pixel_10=sy=-1-(treb*0.2); |
| 344 | per_pixel_11= |
| 345 | per_pixel_12=cx=0.5+q4; |
| 346 | per_pixel_13=cy=0.5-q5; |
| 347 | per_pixel_14=rd=sqrt( sqr( (x-0.5-q4)*2) + sqr( (y-0.5+q5)*9) ); |
| 348 | per_pixel_15=//zm=(1.1-(rd/4)); |
| 349 | per_pixel_16=zm=1; |
| 350 | per_pixel_17= |
| 351 | per_pixel_18=ag=atan( (y-0.5+q5)/(x-0.5-q4) ); |
| 352 | per_pixel_19=star=sin(ag*6+time)*((2-rd)-ag)/8; |
| 353 | per_pixel_20=zm=zm+star/30; |
| 354 | per_pixel_21=sx=zm*rd; |
| 355 | per_pixel_22=sy=zm*rd; |
| 356 | per_pixel_23=//rot=above(rd,0.7)*(rd-0.7)*sin(time*0.3) |
| 357 | warp_1=`sampler sampler_worms; |
| 358 | warp_2=`float3 color, mus; |
| 359 | warp_3=`float dx,dy; |
| 360 | warp_4=`shader_body { |
| 361 | warp_5=` |
| 362 | warp_6=` |
| 363 | warp_7=`float2 uv1 = (uv-.5) * aspect.xy; |
| 364 | warp_8=` |
| 365 | warp_9=`float2 uv6 = uv1; |
| 366 | warp_10=`float z = q10*24*length(((uv1.x)*(uv1.y))); |
| 367 | warp_11=`float2 d = normalize(uv1); |
| 368 | warp_12=`float2 rs = clamp(tan(z)*d,-2,2); |
| 369 | warp_13=`uv += .1*lum(GetBlur1(uv))*float2 (0,1); |
| 370 | warp_14=`uv -= rs/250; |
| 371 | warp_15=` |
| 372 | warp_16=`uv6 = .4*sin(uv*6+rand_frame*6); |
| 373 | warp_17=`mus = .1/(length(uv6)); |
| 374 | warp_18=`mus *= .5*(1+roam_cos); |
| 375 | warp_19=` |
| 376 | warp_20=`float3 blur = GetBlur2(frac(uv)); |
| 377 | warp_21=` |
| 378 | warp_22=`float3 crisp= tex2D(sampler_main,uv); |
| 379 | warp_23=` |
| 380 | warp_24=`float3 ret1 = crisp - blur*.02 + .1*mus; |
| 381 | warp_25=` |
| 382 | warp_26=`q25 = 1; |
| 383 | warp_27=`ret = q25*(ret1*.99-.028) + (1-q25)* GetPixel(uv_orig); |
| 384 | warp_28=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 385 | warp_29=` ((uv6.xyy*q27 |
| 386 | warp_30=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 387 | warp_31=` ).xyz* |
| 388 | warp_32=` float3(1,1,0)*0.05 + |
| 389 | warp_33=` time*float3(0,0,1)*q29 |
| 390 | warp_34=` ); |
| 391 | warp_35=`if(ret.x> q21*q13 && ret.x<= q24*q11 )ret.y += (noise9).x*.5; |
| 392 | warp_36=`if(ret.y> q22*q11 && ret.y<= q25*q12 )ret.z += (noise9).y*.5; |
| 393 | warp_37=`if(ret.z> q23*q12 && ret.z<= q26*q13 )ret.x += (noise9).z*.5; |
| 394 | warp_38=` |
| 395 | warp_39=`} |
| 396 | comp_1=`shader_body |
| 397 | comp_2=`{ |
| 398 | comp_3=` ret = tex2D(sampler_main, uv).xyz*1 + |
| 399 | comp_4=` GetBlur1(uv)*3 + |
| 400 | comp_5=` GetBlur2(uv)*0 + |
| 401 | comp_6=` GetBlur3(uv)*0 + |
| 402 | comp_7=` 0; |
| 403 | comp_8=`float4 noise9 = tex3D(sampler_noisevol_hq, |
| 404 | comp_9=` ((uv.xyy*q28 |
| 405 | comp_10=` )*texsize.xyy*texsize_noisevol_hq.zww |
| 406 | comp_11=` ).xyz* |
| 407 | comp_12=` float3(1,1,0)*0.05 + |
| 408 | comp_13=` time*float3(0,0,1)*q31 |
| 409 | comp_14=` ); |
| 410 | comp_15=`if(ret.x> q26*q13 && ret.x<= q23*q11 )ret.z -= (noise9).x*.5; |
| 411 | comp_16=`if(ret.y> q25*q11 && ret.y<= q22*q12 )ret.x -= (noise9).y*.5; |
| 412 | comp_17=`if(ret.z> q24*q12 && ret.z<= q21*q13 )ret.y -= (noise9).z*.5; |
| 413 | comp_18=` ret += GetBlur2( (uv-0.5)*0.333 + 0.5); |
| 414 | comp_19=` ret *= 1; |
| 415 | comp_20=`} |